package VideoStore;

public class VideoStoreLauncher {
    public static void main(String[] args) {
        Video a = new Video("黑客帝国");
        Video b = new Video("教父");
        Video c = new Video("星球大战3");

        VideoStore video = new VideoStore();

        video.addVideo(a);
        video.addVideo(b);
        video.addVideo(c);

        video.receiveRating(a, 4.5);
        video.receiveRating(b, 4);
        video.receiveRating(c, 4.3);

        video.checkOut(a);
        video.checkOut(b);
        video.listInventory();
        video.checkOut(c);

        video.returnVideo(a);
        video.returnVideo(b);
        video.returnVideo(c);

        video.checkOut(c);
        video.checkOut(c);


        video.listAll();

    }
}
